﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Usercontrol_ControlCategoryProduct : System.Web.UI.UserControl
{
    ClassExecute.ClassExecute dt;
    string error = "";
    string str = webapp4U.Configuration.CurrentConnectionString;
    protected void Page_Load(object sender, EventArgs e)
    {
        loadcategory();
    }
    private void loadcategory()
    {
        dt = new ClassExecute.ClassExecute();

        DataTable menuRoot = dt.Get_Data_DataTable(str, ref error, "GET_FISRT_INCOMMOD", CommandType.StoredProcedure);
        rpt_subsubcategory.DataSource = menuRoot;
        rpt_subsubcategory.DataBind();
    }
}